package com.lbt.javaSE.jianzhioffer;

public class JZ2StringReplace {
    //每个空格替换成“%20”
    public String replaceSpace(StringBuffer str) {
        String str2=new String(str);
        str2.replaceAll(" ","%20");
        return str2;
    }
}
